package com.anjubao.parking.municipal.roadside.mapper;


import com.anjubao.parking.municipal.roadside.dto.ParkingPayRecordDto;
import com.anjubao.parking.municipal.roadside.model.ParkingRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface ParkingRecordMapper extends BaseMapper<ParkingRecord> {

    ParkingRecord getByLotIdAndNum( long parkingLotId,String slotNum);

    List<ParkingRecord> getSlotState(List<String> slotNums);

    List<ParkingPayRecordDto> listParkingRecord(Map<String, Object> map);

    int count(Map<String, Object> map);

    int checkLegal();

}